home *** CD-ROM | disk | FTP | other *** search
/ Erotic Games: Memory / Erotic Games: Memory.iso / mac / air_installers / AdobeAIR.exe / setup.swf / scripts / _InstalledAppItemRendererWatcherSetupUtil.as < prev    next >
Text File  |  2009-02-12  |  871b  |  29 lines

  1. package
  2. {
  3.    import flash.display.Sprite;
  4.    import mx.binding.IWatcherSetupUtil;
  5.    import mx.binding.PropertyWatcher;
  6.    import mx.core.IFlexModuleFactory;
  7.    
  8.    public class _InstalledAppItemRendererWatcherSetupUtil extends Sprite implements IWatcherSetupUtil
  9.    {
  10.        
  11.       
  12.       public function _InstalledAppItemRendererWatcherSetupUtil()
  13.       {
  14.          super();
  15.       }
  16.       
  17.       public static function init(param1:IFlexModuleFactory) : void
  18.       {
  19.          InstalledAppItemRenderer.watcherSetupUtil = new _InstalledAppItemRendererWatcherSetupUtil();
  20.       }
  21.       
  22.       public function setup(param1:Object, param2:Function, param3:Array, param4:Array) : void
  23.       {
  24.          param4[0] = new PropertyWatcher("defaultIcon",{"propertyChange":true},[param3[0]],param2);
  25.          param4[0].updateParent(param1);
  26.       }
  27.    }
  28. }
  29.